{assign var="productcount" value=0}
{foreach from=$similarities->Items->Item item=product}
	{assign var="price" value=$product->OfferSummary->LowestNewPrice->FormattedPrice|replace:"EUR":""}

	{if $productcount < 6 and $price|strlen > 0}
		<div class="sidebarproduct" onclick="linktrack('SidebarProduct','{$product->ASIN}');window.open('{$product->DetailPageURL}');">
            <div class="sidebarproductimage" style="background-image:url('{$product->SmallImage->URL}');"></div>
            <div class="sidebarproducttitle">
                {$product->ItemAttributes->Title}
            </div>
            <div class="sidebarproductmanufacturer">
                {if $languageCode == "de-DE"}
                    von
                {/if}
                {if $languageCode == "en-GB"}
                    from
                {/if}
                {$product->ItemAttributes->Manufacturer}
            </div>
            <div class="sidebarproductprice">
                {$price}
                {if $languageCode == "de-DE"}
                &euro;
                {/if}
            </div>
        </div>
		{assign var="productcount" value=$productcount+1}
	{/if}
{/foreach}